Airtable markdown to html
工作流概述
这是一个包含9个节点的复杂工作流,主要用于自动化处理各种任务。
工作流源代码
{
"id": "LMMle9xFHQxXUWQy",
"meta": {
"instanceId": "7d362a334cd7fabe145eb8ec1b9c6b483cd4fa9315ab54f45d181e73340a0ebc",
"templateCredsSetupCompleted": true
},
"name": "Airtable markdown to html",
"tags": [],
"nodes": [
{
"id": "ae8fad3b-7108-4a7a-a6d6-13e249c41ad7",
"name": "Check if it's 1 record or all records - Airtable",
"type": "n8n-nodes-base.if",
"position": [
1460,
760
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "985d1b48-78d1-4cd8-bd89-c4c2cb8f1e94",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.query.recordId }}",
"rightValue": "all"
}
]
}
},
"typeVersion": 2
},
{
"id": "c2a99d03-3570-4956-8e1e-06d6d72af7cd",
"name": "Get single record from airtable",
"type": "n8n-nodes-base.airtable",
"position": [
1660,
740
],
"parameters": {
"id": "={{ $json.query.recordId }}",
"base": {
"__rl": true,
"mode": "list",
"value": "appk2iZaWQLO3Tqvx",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx",
"cachedResultName": "360Creators"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblbYRGFgCo9u2VpB",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx/tblbYRGFgCo9u2VpB",
"cachedResultName": "📺 Videos"
},
"options": {},
"operation": "get"
},
"credentials": {
"airtableTokenApi": {
"id": "1fljBv63tzQeX9rd",
"name": "🏰 360Creators"
}
},
"typeVersion": 2
},
{
"id": "73c07061-d6e5-4cb1-9aaf-8a906bc6fd28",
"name": "Convert markdown to HTML1",
"type": "n8n-nodes-base.markdown",
"position": [
1860,
740
],
"parameters": {
"mode": "markdownToHtml",
"options": {
"simplifiedAutoLink": true
},
"markdown": "={{ $json['📥 Video Description'] }}"
},
"typeVersion": 1
},
{
"id": "ce9751b6-484d-4b31-9357-002059d7348a",
"name": "Convert markdown to HTML2",
"type": "n8n-nodes-base.markdown",
"position": [
1860,
960
],
"parameters": {
"mode": "markdownToHtml",
"options": {},
"markdown": "={{ $json[\"📥 Video Description\"] }}"
},
"typeVersion": 1
},
{
"id": "d713dd7d-8381-441b-8a4f-a0ce184abc31",
"name": "Update single record in airtable",
"type": "n8n-nodes-base.airtable",
"position": [
2080,
740
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appk2iZaWQLO3Tqvx",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx",
"cachedResultName": "360Creators"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblbYRGFgCo9u2VpB",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx/tblbYRGFgCo9u2VpB",
"cachedResultName": "📺 Videos"
},
"columns": {
"value": {
"id": "={{ $json.id }}",
"Video description HTML": "={{ $json.data }}"
},
"schema": [
{
"id": "id",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "id",
"defaultMatch": true
},
{
"id": "📥 Video Name",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Video Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Video Thumbnail",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Video Thumbnail",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Video Description",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Video Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Meta Description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Meta Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Publish Date",
"type": "dateTime",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "⚡️ Publish Date",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Color [low priority]",
"type": "options",
"display": true,
"options": [
{
"name": "#f6a31b",
"value": "#f6a31b"
},
{
"name": "#B3212C",
"value": "#B3212C"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Color [low priority]",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Youtube url",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "⚡️ Youtube url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Vimeo url",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Vimeo url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Calculation",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "Calculation",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Youtube url, autoplay",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Youtube url, autoplay",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 videos.360creators.com url [backup]",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 videos.360creators.com url [backup]",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Webflow url",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Webflow url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Slug",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Slug",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🏘️ Creator",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "🏘️ Creator",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Tools with url | video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Tools with url | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Video Description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Video Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Timestamps | video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Timestamps | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🛠 Tools",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "🛠 Tools",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ #Tools | video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ #Tools | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Tool Categories | video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Tool Categories | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Created",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Created",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "💬 Channels",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "💬 Channels",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Slug",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Slug",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🚀 Publish",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "🚀 Publish",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Channels",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Channels",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Tools Categories | Video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Tools Categories | Video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ #Tool | Video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ #Tool | Video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ #ToolCategory | Video Description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ #ToolCategory | Video Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unpublished",
"type": "boolean",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Unpublished",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚖️ Market",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "⚖️ Market",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Market company | Video Description lookup",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Market company | Video Description lookup",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Market company | Video description arrayflatten",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Market company | Video description arrayflatten",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Market listing arrayjoin | Video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "⚡️ Market listing arrayjoin | Video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Description | formula v3",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "Description | formula v3",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Description referral formula",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "Description referral formula",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📺 Video description market listing lookup",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "📺 Video description market listing lookup",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📺 Video description market listing formula",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "📺 Video description market listing formula",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name Short [backup]",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Name Short [backup]",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🗃️ File Resources",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "🗃️ File Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Calculation 2",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "Calculation 2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Video description HTML",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Video description HTML",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Convert video description to HTML",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "Convert video description to HTML",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"id"
]
},
"options": {},
"operation": "update"
},
"credentials": {
"airtableTokenApi": {
"id": "1fljBv63tzQeX9rd",
"name": "🏰 360Creators"
}
},
"typeVersion": 2
},
{
"id": "1b836b94-cedb-4a1b-9e7c-5ef0978578a5",
"name": "Update all records in airtable",
"type": "n8n-nodes-base.airtable",
"position": [
2080,
960
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appk2iZaWQLO3Tqvx",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx",
"cachedResultName": "360Creators"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblbYRGFgCo9u2VpB",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx/tblbYRGFgCo9u2VpB",
"cachedResultName": "📺 Videos"
},
"columns": {
"value": {
"id": "={{ $json.id }}",
"Unpublished": false,
"Video description HTML": "={{ $json.data }}"
},
"schema": [
{
"id": "id",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "id",
"defaultMatch": true
},
{
"id": "📥 Video Name",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Video Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Video Thumbnail",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Video Thumbnail",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Video Description",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Video Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Meta Description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Meta Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Publish Date",
"type": "dateTime",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "⚡️ Publish Date",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Color [low priority]",
"type": "options",
"display": true,
"options": [
{
"name": "#f6a31b",
"value": "#f6a31b"
},
{
"name": "#B3212C",
"value": "#B3212C"
}
],
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Color [low priority]",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Youtube url",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "⚡️ Youtube url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Vimeo url",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Vimeo url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Calculation",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "Calculation",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Youtube url, autoplay",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Youtube url, autoplay",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 videos.360creators.com url [backup]",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 videos.360creators.com url [backup]",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Webflow url",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Webflow url",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Slug",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Slug",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🏘️ Creator",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "🏘️ Creator",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Tools with url | video description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Tools with url | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Video Description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Video Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📥 Timestamps | video description",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "📥 Timestamps | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🛠 Tools",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "🛠 Tools",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ #Tools | video description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ #Tools | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Tool Categories | video description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Tool Categories | video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Created",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Created",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "💬 Channels",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "💬 Channels",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Slug",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Slug",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🚀 Publish",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "🚀 Publish",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Channels",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Channels",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Tools Categories | Video description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Tools Categories | Video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ #Tool | Video description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ #Tool | Video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ #ToolCategory | Video Description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ #ToolCategory | Video Description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Unpublished",
"type": "boolean",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Unpublished",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚖️ Market",
"type": "array",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "⚖️ Market",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Market company | Video Description lookup",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Market company | Video Description lookup",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Market company | Video description arrayflatten",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Market company | Video description arrayflatten",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "⚡️ Market listing arrayjoin | Video description",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "⚡️ Market listing arrayjoin | Video description",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Description | formula v3",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "Description | formula v3",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Description referral formula",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "Description referral formula",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📺 Video description market listing lookup",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "📺 Video description market listing lookup",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "📺 Video description market listing formula",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "📺 Video description market listing formula",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name Short [backup]",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Name Short [backup]",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "🗃️ File Resources",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "🗃️ File Resources",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Calculation 2",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "Calculation 2",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Video description HTML",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Video description HTML",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Convert video description to HTML",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "Convert video description to HTML",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"id"
]
},
"options": {},
"operation": "update"
},
"credentials": {
"airtableTokenApi": {
"id": "1fljBv63tzQeX9rd",
"name": "🏰 360Creators"
}
},
"typeVersion": 2
},
{
"id": "1167e05e-998d-44ca-bd28-09c1a74d18b3",
"name": "Get all records from airtable",
"type": "n8n-nodes-base.airtable",
"position": [
1660,
960
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appk2iZaWQLO3Tqvx",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx",
"cachedResultName": "360Creators"
},
"limit": 3,
"table": {
"__rl": true,
"mode": "list",
"value": "tblbYRGFgCo9u2VpB",
"cachedResultUrl": "https://airtable.com/appk2iZaWQLO3Tqvx/tblbYRGFgCo9u2VpB",
"cachedResultName": "📺 Videos"
},
"options": {},
"operation": "search",
"returnAll": false
},
"credentials": {
"airtableTokenApi": {
"id": "1fljBv63tzQeX9rd",
"name": "🏰 360Creators"
}
},
"typeVersion": 2
},
{
"id": "5cffbbdb-936c-4aa9-8e2d-9b8868f7db03",
"name": "Airtable sync video description",
"type": "n8n-nodes-base.webhook",
"position": [
1260,
760
],
"webhookId": "848644e5-6b1d-42b3-9259-5828c29780a8",
"parameters": {
"path": "848644e5-6b1d-42b3-9259-5828c29780a8",
"options": {}
},
"typeVersion": 2
},
{
"id": "6a084927-2cd8-40f9-8072-093a4847af6a",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
540
],
"parameters": {
"content": "# Tutorial
[Youtube video](https://www.youtube.com/watch?v=PAoxZjICd7o)"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5dd4fedb-7108-4641-890b-8f7f76d7684a",
"connections": {
"Convert markdown to HTML1": {
"main": [
[
{
"node": "Update single record in airtable",
"type": "main",
"index": 0
}
]
]
},
"Convert markdown to HTML2": {
"main": [
[
{
"node": "Update all records in airtable",
"type": "main",
"index": 0
}
]
]
},
"Get all records from airtable": {
"main": [
[
{
"node": "Convert markdown to HTML2",
"type": "main",
"index": 0
}
]
]
},
"Airtable sync video description": {
"main": [
[
{
"node": "Check if it's 1 record or all records - Airtable",
"type": "main",
"index": 0
}
]
]
},
"Get single record from airtable": {
"main": [
[
{
"node": "Convert markdown to HTML1",
"type": "main",
"index": 0
}
]
]
},
"Check if it's 1 record or all records - Airtable": {
"main": [
[
{
"node": "Get single record from airtable",
"type": "main",
"index": 0
}
],
[
{
"node": "Get all records from airtable",
"type": "main",
"index": 0
}
]
]
}
}
}
功能特点
- 自动检测新邮件
- AI智能内容分析
- 自定义分类规则
- 批量处理能力
- 详细的处理日志
技术分析
节点类型及作用
- If
- Airtable
- Markdown
- Webhook
- Stickynote
复杂度评估
配置难度:
维护难度:
扩展性:
实施指南
前置条件
- 有效的Gmail账户
- n8n平台访问权限
- Google API凭证
- AI分类服务订阅
配置步骤
- 在n8n中导入工作流JSON文件
- 配置Gmail节点的认证信息
- 设置AI分类器的API密钥
- 自定义分类规则和标签映射
- 测试工作流执行
- 配置定时触发器(可选)
关键参数
| 参数名称 | 默认值 | 说明 |
|---|---|---|
| maxEmails | 50 | 单次处理的最大邮件数量 |
| confidenceThreshold | 0.8 | 分类置信度阈值 |
| autoLabel | true | 是否自动添加标签 |
最佳实践
优化建议
- 定期更新AI分类模型以提高准确性
- 根据邮件量调整处理批次大小
- 设置合理的分类置信度阈值
- 定期清理过期的分类规则
安全注意事项
- 妥善保管API密钥和认证信息
- 限制工作流的访问权限
- 定期审查处理日志
- 启用双因素认证保护Gmail账户
性能优化
- 使用增量处理减少重复工作
- 缓存频繁访问的数据
- 并行处理多个邮件分类任务
- 监控系统资源使用情况
故障排除
常见问题
邮件未被正确分类
检查AI分类器的置信度阈值设置,适当降低阈值或更新训练数据。
Gmail认证失败
确认Google API凭证有效且具有正确的权限范围,重新进行OAuth授权。
调试技巧
- 启用详细日志记录查看每个步骤的执行情况
- 使用测试邮件验证分类逻辑
- 检查网络连接和API服务状态
- 逐步执行工作流定位问题节点
错误处理
工作流包含以下错误处理机制:
- 网络超时自动重试(最多3次)
- API错误记录和告警
- 处理失败邮件的隔离机制
- 异常情况下的回滚操作